package com.shunda.ysdgj.model.vo.goods;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "品牌分类")
public class GoodsBrandCategoryVo {
    @Schema(description = "ID")
    private Long id;

    @Schema(description = "品牌ID")
    private Long brandId;

    @Schema(description = "分类ID")
    private Long categoryId;

    @Schema(description = "品牌名称")
    private String brandName;

    @Schema(description = "品牌Logo")
    private String brandLogo;

    @Schema(description = "分类名称")
    private String categoryName;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime created;
}
